package cn.cloudheritagefeign;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient; // 新增
import org.springframework.cloud.openfeign.EnableFeignClients; // 新增

@SpringBootApplication
@EnableDiscoveryClient // 新增：启用服务发现
@EnableFeignClients    // 新增：启用Feign客户端
public class CloudHeritageFeignApplication {

    public static void main(String[] args) {
        SpringApplication.run(CloudHeritageFeignApplication.class, args);
    }

}
